Using Pythagorean Theorem To Find Perimeter